<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateASKTables extends Migration
{
    protected $tablePrefix = 'kx_';

    public function __construct() {
        $tablePrefix = \Config::get('site-tables.tablePrefix');
        if ($tablePrefix) {
            $this->tablePrefix = $tablePrefix;
        }
    }

    protected function getTableName($tableName = ''){
        return $this->tablePrefix . \Config::get('site-tables.tableName.' . $tableName);
    }

    
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
